package cn.zl.ymcc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 授权码
 * </p>
 *
 * @author zl
 * @since 2025-10-18
 */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("oauth_code")
        public class OauthCode implements Serializable {

        private static final long serialVersionUID = 1L;
    
            /**
             * 授权码(未加密)
             */
        @TableField("code")
    private String code;

            /**
             * AuthorizationRequestHolder.java对象序列化后的二进制数据
             */
        @TableField("authentication")
    private byte[] authentication;
    }